"""
题目：读取7个数（1—50）的整数值，每读取一个值，程序打印出该值个数的*。
"""
from pip._vendor.distlib.compat import raw_input

if __name__ == '__main__':
	n = 1
	while n <= 7:
		a = int(raw_input('input a number:\n'))
		while a < 1 or a > 50:
			a = int(raw_input('input a number:\n'))
		print(a * '*')
		n += 1
